<?php
namespace Home\Controller;

class CouponPageController extends ParentController {
    protected function _initialize() {
        $this->checkLanguage();
        $hotelId = I('get.hotel');
        $this->assignHotelDefultCurrency($hotelId);
        if (empty(parent::isLogin())) {
            if (!in_array(ACTION_NAME, ['couponentry'])) {
                redirect('/Home/PublicPage/login?hotel='.$hotelId);
            }
        }
    }

    public function couponList() {
       
        $this->display();
    }
    
    public function couponentry() {
       
        $this->display();
    }
}